package com.briup.corejava.day10.pojo;

public class MyInt {
    private int i;
    public MyInt(int i){
        this.i = i;
    }
    public static MyInt valueOf(int i){
        return new MyInt(i);
    }
    public int parseInt(String s){
        return Integer.parseInt(s);
    }

    @Override
    public String toString() {
        return "" + i;
    }
}
